<template>
	<view class="explain" :key="refreshKey">
		<!-- <uv-collapse style="color: #000;" :value="['1']">
			<uv-collapse-item style="color: #000;" v-for="record in records" name="1" :title="record.question ">
				<view>
					<uv-parse style="color: #000;" :content="record.ask"></uv-parse>
				</view>
			</uv-collapse-item>
		</uv-collapse> -->
		<view class="animate__fadeInUp" style="animation-duration: 1s;margin-top:20rpx;">
			　
			<uv-parse style="color: #000;" :content="records[0].ask"></uv-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				records: [],
				refreshKey:0
			}
		},
		onLoad() {
			this.findByType();
		},
		onShow(){
			this.refreshKey += 1;
		},
		methods: {

			findByType() {
				var that = this;
				uni.$uv.http.get('/faq/findByType', {
					params: {
						type: '1'
					}
				}).then(res => {
					that.records = res.data;
				});
			},

		}
	}
</script>

<style scoped lang="less">

.explain{
   /deep/ .uv-cell__title-text{
   color: #000;
   }
}
page {
	height: auto !important;
	background: url('/static/img/my_bg.png') no-repeat;
	background-size: 100% 100%;
}
</style>